package com.haidechizi.tree;

/**
 * @author: wangdejun
 * @create: 2020-03-14 15:32
 **/
public class TestHuffmanTree {

    public static void main(String[] args) {
        int[] arr = new int[]{5, 77, 8, 33, 2, 1, 45, 36};
        TreeNode treeNode = HuffmanTree.createHuffmanTree(arr);

//        treeNode.frontShow();

        treeNode.deepShow();

    }
}
